package com.bonc.rms.service;

import java.util.List;

import javax.transaction.Transactional;

import com.bonc.rms.entity.UserEntity;

@Transactional
public interface UserService {


	
	public List<UserEntity> findAllUsers();
	
	public UserEntity findUserById(Integer id);
	
	public UserEntity findByUserName(String user_name); 
	
	public List<UserEntity> findByUserNameAndDepartment(String user_name, String department);
		
	public UserEntity saveUser(UserEntity user);
	
	public void deleteUser(Integer id);
	
    public void updateStateById(String state, Integer id);
    
    public String findPasswdByUserName(String userName);
    
	
}
